package cn.kgc.mushroomdatabaseprovider.service;

import cn.kgc.mushroomcommon.pojo.Commodity;
import cn.kgc.mushroomcommon.pojo.Shop;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.List;

public interface CommodityService {

    List<Commodity> selectAll();

    List<Commodity> selectTopsan();

    Commodity selectCommodityAndDetail(Integer id);

    List<Commodity> selectByTypeId(Integer tidcommtype);

    List<Commodity> selectCommodityByTitleOrTypeName(String commOrTypeName,
                                                     Integer tiaojian,
                                                     String smallMoney,
                                                     String bigMoney);

    List<Commodity>  selectShopAllByName(Integer tid);


}
